﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.ServiceModel.Web;
using System.ServiceModel;

namespace EnglishRemix.Services
{
    public partial interface IEnglishRemixBookService
    {

        [WebGet(UriTemplate = "user/?login_cred={login_cred}&login_route={login_route}&usr_pwd={usr_pwd}", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
        String user_get(string login_cred, string login_route, string usr_pwd);
        
        [WebInvoke(UriTemplate = "user/", Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
        String user_post(Stream input);

        [WebInvoke(UriTemplate = "user/", Method = "PUT", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
        String user_put(Stream input);
    }
}